package cn.springcloud.api;

import java.util.HashSet;
import java.util.Set;

public class Test {
    public static Set<String> USER_FILTER_URLS =  new HashSet<String>() {
        {
            add("/api/kabuto/out/cancel/file");
            add("/api/kabuto/out/high-risk-account-monitor-result-temp/out/data");
            add("/api/sso/manage/pki/login");
            add("/api/sso/manage/cas/login");
            add("/api/sso/manage/cas/logout");
        }
    };
    /**
     * 需要忽略不计的路径，注意要以"/"开始
     */
    public static Set<String> TOKEN_IGNORE_PATHS = new HashSet<String>() {
        {
            add("/api/kabuto/out/cancel/file");
            add("/api/kabuto/out/high-risk-account-monitor-result-temp/out/data");


        }
    };

    public static void main(String[] args) {
        USER_FILTER_URLS.removeAll(TOKEN_IGNORE_PATHS);
        System.err.println(USER_FILTER_URLS);
    }







}
